package com.xd.common.response;

import lombok.Data;

/**
 * @Author: 林顺
 * @Date: 2021/11/20 10:30
 */
@Data
public class BaseResponse {

    private String code;

    private String msg;

    private Object data;

    public BaseResponse(String code) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public BaseResponse(String code, String msg) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public BaseResponse(String code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

}
